Memsource\Service\Content\AbstractPostService A

Total Complexity 75
Dependencies 12
Dependents 2
Total lines 517
Lines of code 274
Logical lines of code 160
Comment lines 107
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
getItems()
A
54 8 19
calculateCustomFieldsSize()
S
57 7 16
containsCustomField()
S
58 7 15
findCustomFields()
S
56 6 17
addOrUpdateTranslation()
S
48 4 32
getItem()
S
55 4 17
storeLastProcessedId()
S
59 4 14
getCustomFieldsFromString()
S
59 4 14
getLastRevision()
S
64 4 11
saveTranslation()
S
55 3 18
saveCustomFields()
S
58 3 14
getPostJson()
S
54 2 21
customFieldsToHTML()
S
67 3 7
encodeFieldIfSerialized()
S
70 2 6
decodeFieldIfSerialized()
S
66 2 8
getPreviewPostLink()
S
70 2 6
cleanStringFromCustomFields()
S
70 2 6
allowStyleTag()
S
71 2 6
isFolder()
S
82 1 3
getPost()
S
76 1 4
customFieldToHTML()
S
75 1 4
getCustomFieldRegexPatterns()
S
73 1 6
calculatePostSize()
S
78 1 3
__construct()
S
68 1 7